package com.rzjm.exercise.module.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *  乡镇表
 *
 * @author mr.zhou
 * @email zhouweiNice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("ck_towns")
public class Towns implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer districtId;
	private String townName;
	private Integer parentId;
	private Integer state;
	private Integer gridLevel;
	private Integer delFlag;
	private Integer sort;
	/**
	 *  是否限制使用  0 - 不限制 1 - 限制
	 */
	private Integer isControl;
	private String areaCode;
}
